﻿using System;
using System.Linq;
using System.Collections.Generic;
using AdventureWorksImplementation;

/// This is exactly what UnitTest1.WorkOrdersRelatedToProduct outputs.
namespace UnitTestProject1  // generated namespace will be "DaNamespace"
{
    public static class DaClass
    {
        public static IQueryable<WorkOrder> DaMethod( AdventureWorksModelContainer context )
        {
            var result = from A1 in context.WorkOrders
                         join A2 in context.Products on A1.ProductID equals A2.ProductID
                         where ( A2.ProductID == 744 )
                         select A1;
            return result;
        }
    }
}
